<template>
    <a-page-header style="border: 1px solid rgb(235, 237, 240)" title="我的签到" sub-title="" @back="jumpTo" />
  <div class="sigin">
    
    <div>
        <my-calendar></my-calendar>
    </div>
    
  </div>
</template>

<script lang="ts">
import { reactive, ref } from 'vue'
import { useRouter } from 'vue-router'
import { getUserInfoFn } from '../api/index';
import { message } from 'ant-design-vue';
import MyCalendar from '../components/MyCalendar.vue';

export default {
    components: {MyCalendar},
    setup() {
        const router = useRouter();

        const jumpTo = ()=> {
            router.go(-1)
        }

        // 格式化时间
        const formatime = (date: Date | string | any) => {
            if (date) {
                let dt = new Date(date);
                return dt.toLocaleDateString() + " " + dt.toLocaleTimeString();
            }
            else {
                return '0000-00-00 00:00:00';
            }
        }

        return {
            jumpTo
        }
    }
}

</script>

